package com.sreManager.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.sreManager.domain.CompanyBuilding;
import com.sreManager.domain.CompanyIncharge;


public interface CompanyInchargeMapper {

	List<CompanyIncharge> selectInchargeList(CompanyBuilding building);

	int insertIncharge(CompanyIncharge incharge);

	int insertInchargeMap(Map<String, Object> param);

	int updateIncharge(CompanyIncharge incharge);

	int updateInchargeMap(Map<String, Object> param);

	int deleteIncharge(CompanyIncharge building);

	CompanyIncharge selectIncharge(CompanyIncharge incharge);

	List<Map<String, Object>> selectExistIncharge(Map<String, Object> param);

	int deleteIncharges(@Param("inchargeCdList") List<Integer> inchargeCdList, @Param("buildingCd") Integer buildingCd);

}
